package org.csmzxy233402;

public class User {
    private String name;
    private int age;
    public void setName(String name){
        this.name =name;
    }
    public void setAge(int age){
        this.age =age;
    }
    public void print(){
        String name ="李四";
        int age =20;
        System.out.println("姓名：" + this.name + ", 年龄 =" + this.age);
        System.out.println("姓名：" + name + ", 年龄 =" + age);
    }
}
